package top.yueyazhui.storage.service;

import io.seata.rm.tcc.api.BusinessActionContext;

public interface StorageService {

    boolean prepare(String commodityCode, Integer count);

    boolean commit(BusinessActionContext businessActionContext);

    boolean rollback(BusinessActionContext businessActionContext);
}
